package cn.zeal4j.servlet.freemarker;

import cn.zeal4j.pojo.User;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.*;

/**
 * @author Administrator
 * @file IntelliJ IDEA FreeMarker
 * @create 2020 09 21 11:21
 */
@WebServlet("fm-04")
public class FtlServlet04 extends HttpServlet {
    private static final long serialVersionUID = -8394125239520066892L;

    @Override
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        req.getRequestDispatcher("freemarker-templates/fmt-04.ftl").forward(req, resp);
    }
}
